package com.zndroid.gridview.inner.gesture;

interface OnGestureListener {
    /**
     * drag
     * @param dx x
     * @param dy y
     * */
    void onDrag(float dx, float dy);
    /**
     * fling
     * @param startX x
     * @param startY y
     * @param velocityX vx
     * @param velocityY vy
     * */
    void onFling(float startX, float startY, float velocityX,
                 float velocityY);
    /**
     * scale
     * @param scaleFactor scale
     * @param focusX x
     * @param focusY y
     * */
    void onScale(float scaleFactor, float focusX, float focusY);

}